equality operator

[i:ˈkwɔliti ˈɔpəreitə]
  • 释义

    相同运算符;

数据更新时间:2026-05-14 01:36:50
1、

if the operands of an equality operator are both of value type, then the operation is value equality.

如果相等运算符的操作数都是值类型,则运算是值相等。

互联网摘选

2、

however, we recommend that you provide the equality operator if possible.

但是建议您尽可能提供相等运算符。

互联网摘选

3、

for example, if you overload the equality operator, you should also overload the inequality operator.

例如,如果重载相等运算符,也应重载不等运算符。

互联网摘选

4、

the size structure on the right of the equality operator.

相等运算符右侧的Size结构。

互联网摘选

5、

this method is equivalent to the equality operator, which also compare run-time identifiers.

此方法相当于也会比较执行阶段识别项的等号比较运算子。

互联网摘选

6、

method in terms of the overloaded equality operator, as in the following code example.

方法来达到这一目的,如下面的代码示例所示。

互联网摘选

7、

you can also test equality of strings using the equality operator, as the following example shows.

您也可以使用相等运算符测试字符串是否相等,如下例所示。

互联网摘选

8、

The equality operator. Tests whether the left-operand is equal to the right-hand .

等于操作符, 测试左右两边的 操作数 是否相等.

互联网摘选

9、

So this is the equality operator, whereas the single equal sign is the assignment operator.

所以这是相等操作符,然而那个单等号是一个赋值运算符。

互联网摘选

10、

pattern indexes now use the regular equality operator.

模式索引现在使用正则判等操作符。

互联网摘选

11、

method whenever you implement the equality operator, and make them do the same thing.

方法,使它们执行同样的操作。

互联网摘选

12、

The equality operator compares primitive strings, numbers, and Booleans by value.

相等运算符按值来比较基元字符串 、 数字和布尔值.

互联网摘选

13、

if the operands of an equality operator are both of reference type or the

如果相等运算符的操作数都是引用类型或

互联网摘选

14、

types typically implement the inequality operator by returning the negated value of the equality operator.

类型通常通过返回相等运算符的反值来实现不等运算符。

互联网摘选

15、

the size structure on the left side of the equality operator.

相等运算符左侧的Size结构。

互联网摘选

16、

you cannot use the default equality operator in an overloaded implementation of the equality operator.

不能在相等运算符的重载实现中使用默认相等运算符。

互联网摘选

17、

if your programming language supports operator overloads, you should consider implementing the equality operator.

如果编程语言支持运算符重载,则应考虑实现相等运算符。

互联网摘选

18、

such implementations of the equals method should return the same results as the equality operator.

方法的这些实现应与相等运算符返回相同的结果。

互联网摘选

19、

and the language supports operator overloading, you should overload the equality operator for your value type.

并且语言支持运算符重载,应重载值类型的相等运算符。

互联网摘选

20、

Example for the String Equality operator.

下面的代码示例演示相等运算符.

互联网摘选

21、

if the operands of an equality operator are both of type boolean, then the operation is boolean equality.

如果相等运算符的操作数都是boolean类型,则运算是boolean相等。

互联网摘选

22、

equals but does not implement the equality operator.

要修复与该规则的冲突,请实现相等运算符。

互联网摘选

  • 相关词组
  • 今日热词
  • 热门搜索

英语网英语词典(dict.25820.com)为您提供在线翻译英语词典单词大全英译汉汉译英等英语服务!可按单词字数词义分类查询。支持lj:关键词格式查询例句。

用户反馈
请选择反馈类型(可多选):
您的联系方式:
反馈内容:
提交成功 小编会尽快处理
回到顶部
点击反馈